import Vue from 'vue'
import {SET_ITEM,SET_USERINFO} from './mutation_types'

export default {
    [SET_ITEM](state,res){
        Vue.set(state, res.k, res.v);
    },
    [SET_USERINFO](state,res){
        state.userInfo=res
    }
}